//
//  ViewController.m
//  test
//
//  Created by lanou3g on 16/8/11.
//  Copyright © 2016年 110. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    UILabel *lable = [[UILabel alloc]initWithFrame:CGRectMake(300, 300, 100, 100)];
    lable.backgroundColor = [UIColor colorWithRed:0.611 green:1.000 blue:0.375 alpha:1.000];
    [self.view addSubview:lable];

    // Do any additional setup after loading the view, typically from a nib.

    self.view.backgroundColor = [UIColor cyanColor];
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.frame = CGRectMake(100, 100, 60, 40);
    button.backgroundColor = [UIColor greenColor];
    [self.view addSubview:button];


}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
